package com.dzx.design.behavioral.command;

/**
 * @author dzx
 * @ClassName:
 * @Description:
 * @date 2019年08月14日 17:06:14
 */
public class CourseVideo {
    private String name;

    public CourseVideo(String name) {
        this.name = name;
    }

    public void open() {
        System.out.println(this.name+"课程视频开放");
    }

    public void close() {
        System.out.println(this.name+"课程视频关闭");
    }

}
